//
// Created by konglinglong on 2020/9/26.
//

#ifndef O5G_SRC_O5GRAN_L2_SRC_L3INTF_INCLUDE_L3INTFDEF_H_
#define O5G_SRC_O5GRAN_L2_SRC_L3INTF_INCLUDE_L3INTFDEF_H_

#include "../../common/commDef.h"

typedef struct RanL2L3IntfContext
{
    pthread_t tid;
    int l3SockFd;
    S_OsSelect selector;
    S_Poller *poller;
    S_List msgArcObjList;
    S_MemPool *pMsgArcObjPool;
    char sockRecvBuffer[SOCK_BUFFER_SIZE];
} S_RanL2L3IntfContext;

extern S_RanL2L3IntfContext *gpRanL2L3IntfContext;

#endif //O5G_SRC_O5GRAN_L2_SRC_L3INTF_INCLUDE_L3INTFDEF_H_
